package com.metaboot.demo.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.metaboot.common.annotation.Excel;
import com.metaboot.common.core.domain.BaseEntityPlus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 学校管理对象 t_demo_school
 * 
 * @author theodo
 * @date 2021-12-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_demo_school")
@ApiModel("学校管理对象")
public class DemoSchool extends BaseEntityPlus {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 删除标志 */
    @TableLogic
    private Long delFlag;
    
    /**
	 * 备注
	 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 学生管理信息 */
    @TableField(exist = false)
    private List<DemoStudent> demoStudentList;

}
